// pages/job-detailed/job-detailed.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    title:"岗位名称",
    wage:"150-200元/天",
    area:"厦门市思明区XXX",
    length:"4天/周",
    name:"黄女士",
    description:"新意科技 · 招聘经理",
    avatarSrc:"/image/example/p1.png",
    towards:"一段很长很长的测试内容",
    team:"一段很长很长的测试内容",
    description2:"一段很长很长的测试内容",
    require:"一段很长很长的测试内容",
    others:"一段很长很长的测试内容",
    currentImage: "/image/job/收藏 (3).png"
  },
  goToTalk: function() {
    wx.navigateTo({
      url: '/pages/job-talk/job-talk' 
    });
  },
  toggleImage() {
    const currentImage = this.data.currentImage;
    const newImage = currentImage === "/image/job/收藏 (3).png" ? "/image/job/收藏 (4).png" : "/image/job/收藏 (3).png";
    this.setData({
      currentImage: newImage
    });
  },
  
})